import request from '@/utils/request'

export function uploadPolicy(dir) {
  return request({
    url: `/cloud/oss/policy/${dir}`,
    method: 'get'
  })
}

export function deleteAvatar(urls) {
  return request({
    url: `/cloud/oss/deleteFiles`,
    method: 'delete',
    data: urls
  })
}

